

		** Analysing the five core variables ***
		* vt_lag comp pr gni_ln_sl pop_ln_sl *

		cd "/Users/rich/Dropbox/research/Rich & Ferran/EBA turnout/data/completed data/completed AWS data files (cleaned)/"

		local var "comp"
		
		** 1 **
		use	vt_1_aws.dta, clear
		keep if var=="`var'"
		save `var'1.dta, replace
 
 		** 2 **
		use	vt_2_aws.dta, clear
		keep if var=="`var'"
		save `var'2.dta, replace
 
 		** 3 **
		use	vt_3_aws.dta, clear
		keep if var=="`var'"
		save `var'3.dta, replace
 
 		** 4 **
		use	vt_4_aws.dta, clear
		keep if var=="`var'"
		save `var'4.dta, replace
 
 		** 5 **
		use	vt_5_aws.dta, clear
		keep if var=="`var'"
		save `var'5.dta, replace
 
 		** 6 **
		use	vt_6_aws.dta, clear
		keep if var=="`var'"
		save `var'6.dta, replace
 
 		** 7 **
		use	vt_7_aws.dta, clear
		keep if var=="`var'"
		save `var'7.dta, replace
 
 		** 8 **
		use	vt_8_aws.dta, clear
		keep if var=="`var'"
		save `var'8.dta, replace
 
 		** 9 **
		use	vt_9_aws.dta, clear
		keep if var=="`var'"
		save `var'9.dta, replace
 
 		** 10 **
		use	vt_10_aws.dta, clear
		keep if var=="`var'"
		save `var'10.dta, replace

		** 11 **
		use	vt_11_aws.dta, clear
		keep if var=="`var'"
		save `var'11.dta, replace
 
 		** 12 **
		use	vt_12_aws.dta, clear
		keep if var=="`var'"
		save `var'12.dta, replace
 
 		** 13 **
		use	vt_13_aws.dta, clear
		keep if var=="`var'"
		save `var'13.dta, replace
 
 		** 14 **
		use	vt_14_aws.dta, clear
		keep if var=="`var'"
		save `var'14.dta, replace
 
 		** 15 **
		use	vt_15_aws.dta, clear
		keep if var=="`var'"
		save `var'15.dta, replace
 
 		** 16 **
		use	vt_16_aws.dta, clear
		keep if var=="`var'"
		save `var'16.dta, replace
 
 		** 17 **
		use	vt_17_aws.dta, clear
		keep if var=="`var'"
		save `var'17.dta, replace
 
 		** 18 **
		use	vt_18_aws.dta, clear
		keep if var=="`var'"
		save `var'18.dta, replace
 
 		** 19 **
		use	vt_19_aws.dta, clear
		keep if var=="`var'"
		save `var'19.dta, replace
 
 		** 20 **
		use	vt_20_aws.dta, clear
		keep if var=="`var'"
		save `var'20.dta, replace		
		
		** 21 **
		use	vt_21_aws.dta, clear
		keep if var=="`var'"
		save `var'21.dta, replace
 
 		** 22 **
		use	vt_22_aws.dta, clear
		keep if var=="`var'"
		save `var'22.dta, replace
 
 		** 23 **
		use	vt_23_aws.dta, clear
		keep if var=="`var'"
		save `var'23.dta, replace
 
 		** 24 **
		use	vt_24_aws.dta, clear
		keep if var=="`var'"
		save `var'24.dta, replace
 
 		** 25 **
		use	vt_25_aws.dta, clear
		keep if var=="`var'"
		save `var'25.dta, replace
 
 		** 26 **
		use	vt_26_aws.dta, clear
		keep if var=="`var'"
		save `var'26.dta, replace
 
 		** 27 **
		use	vt_27_aws.dta, clear
		keep if var=="`var'"
		save `var'27.dta, replace
 
 		** 28 **
		use	vt_28_aws.dta, clear
		keep if var=="`var'"
		save `var'28.dta, replace
 
 		** 29 **
		use	vt_29_aws.dta, clear
		keep if var=="`var'"
		save `var'29.dta, replace
 
 		** 30 **
		use	vt_30_aws.dta, clear
		keep if var=="`var'"
		save `var'30.dta, replace		
		
		** 31 **
		use	vt_31_aws.dta, clear
		keep if var=="`var'"
		save `var'31.dta, replace
 
 		** 32 **
		use	vt_32_aws.dta, clear
		keep if var=="`var'"
		save `var'32.dta, replace
 
 		** 33 **
		use	vt_33_aws.dta, clear
		keep if var=="`var'"
		save `var'33.dta, replace
 
 		** 34 **
		use	vt_34_aws.dta, clear
		keep if var=="`var'"
		save `var'34.dta, replace
 
 		** 35 **
		use	vt_35_aws.dta, clear
		keep if var=="`var'"
		save `var'35.dta, replace
 
 		** 36 **
		use	vt_36_aws.dta, clear
		keep if var=="`var'"
		save `var'36.dta, replace
 
 		** 37 **
		use	vt_37_aws.dta, clear
		keep if var=="`var'"
		save `var'37.dta, replace
 
 		** 38 **
		use	vt_38_aws.dta, clear
		keep if var=="`var'"
		save `var'38.dta, replace
 
 		** 39 **
		use	vt_39_aws.dta, clear
		keep if var=="`var'"
		save `var'39.dta, replace
 
 		** 40 **
		use	vt_40_aws.dta, clear
		keep if var=="`var'"
		save `var'40.dta, replace		
		
		** 41 **
		use	vt_41_aws.dta, clear
		keep if var=="`var'"
		save `var'41.dta, replace
 
 		** 42 **
		use	vt_42_aws.dta, clear
		keep if var=="`var'"
		save `var'42.dta, replace
 
 		** 43 **
		use	vt_43_aws.dta, clear
		keep if var=="`var'"
		save `var'43.dta, replace
 
 		** 44 **
		use	vt_44_aws.dta, clear
		keep if var=="`var'"
		save `var'44.dta, replace
 
 		** 45 **
		use	vt_45_aws.dta, clear
		keep if var=="`var'"
		save `var'45.dta, replace
 
 		** 46 **
		use	vt_46_aws.dta, clear
		keep if var=="`var'"
		save `var'46.dta, replace
 
 		** 47 **
		use	vt_47_aws.dta, clear
		keep if var=="`var'"
		save `var'47.dta, replace
 
 		** 48 **
		use	vt_48_aws.dta, clear
		keep if var=="`var'"
		save `var'48.dta, replace
 
 		** 49 **
		use	vt_49_aws.dta, clear
		keep if var=="`var'"
		save `var'49.dta, replace
 
 		** 50 **
		use	vt_50_aws.dta, clear
		keep if var=="`var'"
		save `var'50.dta, replace
		
		** 51 **
		use	vt_51_aws.dta, clear
		keep if var=="`var'"
		save `var'51.dta, replace
 
 		** 52 **
		use	vt_52_aws.dta, clear
		keep if var=="`var'"
		save `var'52.dta, replace
 
 		** 53 **
		use	vt_53_aws.dta, clear
		keep if var=="`var'"
		save `var'53.dta, replace
 
 		** 54 **
		use	vt_54_aws.dta, clear
		keep if var=="`var'"
		save `var'54.dta, replace
 
 		** 55 **
		use	vt_55_aws.dta, clear
		keep if var=="`var'"
		save `var'55.dta, replace
 
 		** 56 **
		use	vt_56_aws.dta, clear
		keep if var=="`var'"
		save `var'56.dta, replace
 
 		** 57 **
		use	vt_57_aws.dta, clear
		keep if var=="`var'"
		save `var'57.dta, replace
 
 		** 58 **
		use	vt_58_aws.dta, clear
		keep if var=="`var'"
		save `var'58.dta, replace
 
 		** 59 **
		use	vt_59_aws.dta, clear
		keep if var=="`var'"
		save `var'59.dta, replace
 
 		** 60 **
		use	vt_60_aws.dta, clear
		keep if var=="`var'"
		save `var'60.dta, replace		
		
		** 61 **
		use	vt_61_aws.dta, clear
		keep if var=="`var'"
		save `var'61.dta, replace
 
 		** 62 **
		use	vt_62_aws.dta, clear
		keep if var=="`var'"
		save `var'62.dta, replace
 
 		** 63 **
		use	vt_63_aws.dta, clear
		keep if var=="`var'"
		save `var'63.dta, replace
 
 		** 64 **
		use	vt_64_aws.dta, clear
		keep if var=="`var'"
		save `var'64.dta, replace
 
 		** 65 **
		use	vt_65_aws.dta, clear
		keep if var=="`var'"
		save `var'65.dta, replace
 
 	 
		use	`var'1.dta, clear		
		append using `var'2.dta
		append using `var'3.dta		
		append using `var'4.dta		
		append using `var'5.dta		
		append using `var'6.dta		
		append using `var'7.dta		
		append using `var'8.dta		
		append using `var'9.dta		
		append using `var'10.dta		
 		append using `var'11.dta	
		append using `var'12.dta
		append using `var'13.dta		
		append using `var'14.dta		
		append using `var'15.dta		
		append using `var'16.dta		
		append using `var'17.dta		
		append using `var'18.dta		
		append using `var'19.dta		
		append using `var'20.dta				
 		append using `var'21.dta	
		append using `var'22.dta
		append using `var'23.dta		
		append using `var'24.dta		
		append using `var'25.dta		
		append using `var'26.dta		
		append using `var'27.dta		
		append using `var'28.dta		
		append using `var'29.dta		
		append using `var'30.dta			
 		append using `var'31.dta	
		append using `var'32.dta
		append using `var'33.dta		
		append using `var'34.dta		
		append using `var'35.dta		
		append using `var'36.dta		
		append using `var'37.dta		
		append using `var'38.dta		
		append using `var'39.dta		
		append using `var'40.dta		
 		append using `var'41.dta	
		append using `var'42.dta
		append using `var'43.dta		
		append using `var'44.dta		
		append using `var'45.dta		
		append using `var'46.dta		
		append using `var'47.dta		
		append using `var'48.dta, force		
		append using `var'49.dta, force		
		append using `var'50.dta, force		
 		append using `var'51.dta, force	
		append using `var'52.dta, force
		append using `var'53.dta, force		
		append using `var'54.dta, force		
		append using `var'55.dta, force		
		append using `var'56.dta, force		
		append using `var'57.dta, force		
		append using `var'58.dta, force		
		append using `var'59.dta, force		
		append using `var'60.dta, force		
 		append using `var'61.dta, force	
		append using `var'62.dta, force
		append using `var'63.dta, force		
		append using `var'64.dta, force		
		append using `var'65.dta, force		
	
	
		save core_`var'.dta, replace

		erase `var'1.dta		
		erase `var'2.dta
		erase `var'3.dta		
		erase `var'4.dta		
		erase `var'5.dta		
		erase `var'6.dta		
		erase `var'7.dta		
		erase `var'8.dta		
		erase `var'9.dta		
		erase `var'10.dta		
		erase `var'11.dta	
		erase `var'12.dta
		erase `var'13.dta		
		erase `var'14.dta		
		erase `var'15.dta		
		erase `var'16.dta		
		erase `var'17.dta		
		erase `var'18.dta		
		erase `var'19.dta		
		erase `var'20.dta				
		erase `var'21.dta	
		erase `var'22.dta
		erase `var'23.dta		
		erase `var'24.dta		
		erase `var'25.dta		
		erase `var'26.dta		
		erase `var'27.dta		
		erase `var'28.dta		
		erase `var'29.dta		
		erase `var'30.dta			
		erase `var'31.dta	
		erase `var'32.dta
		erase `var'33.dta		
		erase `var'34.dta		
		erase `var'35.dta		
		erase `var'36.dta		
		erase `var'37.dta		
		erase `var'38.dta		
		erase `var'39.dta		
		erase `var'40.dta		
		erase `var'41.dta	
		erase `var'42.dta
		erase `var'43.dta		
		erase `var'44.dta		
		erase `var'45.dta		
		erase `var'46.dta		
		erase `var'47.dta		
		erase `var'48.dta		
		erase `var'49.dta		
		erase `var'50.dta		
		erase `var'51.dta	
		erase `var'52.dta
		erase `var'53.dta		
		erase `var'54.dta		
		erase `var'55.dta		
		erase `var'56.dta		
		erase `var'57.dta		
		erase `var'58.dta		
		erase `var'59.dta		
		erase `var'60.dta		
		erase `var'61.dta	
		erase `var'62.dta
		erase `var'63.dta		
		erase `var'64.dta		
		erase `var'65.dta
			
			
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
		
